package pub.fjf.http;

public abstract class HttpServlet {
	private ApplicationServer applicationServer;
	public HttpServlet() {
		
	}
	public void setApplicationServer(ApplicationServer applicationServer) {
		this.applicationServer=applicationServer;
	}
	public Application getApplication(String id) {
		return this.applicationServer.getApplication(id);
	}
	public abstract void doGet(HttpServletRequest req,HttpServletResponse resp);
	public abstract void doPost(HttpServletRequest req,HttpServletResponse resp);
}
